package com.spec.services.system.dictionary.impl;

import com.spec.dao.DaoSupport;
import com.spec.services.system.dictionary.IDictionaryService;
import org.springframework.stereotype.Service;
import sys.basic.entity.PageData;

import javax.annotation.Resource;
import java.util.List;

@Service("dictionaryService")
public class DictionaryServcieImpl implements IDictionaryService {

	@Resource(name = "daoSupport")
	private DaoSupport dao;

	public List<PageData> find(PageData pd) throws Exception {
		return (List<PageData>) dao.findForList("DictionaryMapper.list",pd);
	}

}
